/*************************************************************************
This software module was originally developed by 

	Ming-Chieh Lee (mingcl@microsoft.com), Microsoft Corporation
	Wei-ge Chen (wchen@microsoft.com), Microsoft Corporation
	Bruce Lin (blin@microsoft.com), Microsoft Corporation
	Chuang Gu (chuanggu@microsoft.com), Microsoft Corporation
	(date: March, 1996)

and edited by
	Yoshihiro Kikuchi (TOSHIBA CORPORATION)
	Takeshi Nagai (TOSHIBA CORPORATION)
	Toshiaki Watanabe (TOSHIBA CORPORATION)
	Noboru Yamaguchi (TOSHIBA CORPORATION)

and also edited by
	Dick van Smirren (D.vanSmirren@research.kpn.com), KPN Research
	Cor Quist (C.P.Quist@research.kpn.com), KPN Research
	(date: July, 1998)

and also edited by
    Mathias Wien (wien@ient.rwth-aachen.de) RWTH Aachen / Robert BOSCH GmbH

in the course of development of the MPEG-4 Video (ISO/IEC 14496-2). 
This software module is an implementation of a part of one or more MPEG-4 Video tools 
as specified by the MPEG-4 Video. 
ISO/IEC gives users of the MPEG-4 Video free license to this software module or modifications 
thereof for use in hardware or software products claiming conformance to the MPEG-4 Video. 
Those intending to use this software module in hardware or software products are advised that its use may infringe existing patents. 
The original developer of this software module and his/her company, 
the subsequent editors and their companies, 
and ISO/IEC have no liability for use of this software module or modifications thereof in an implementation. 
Copyright is not released for non MPEG-4 Video conforming products. 
Microsoft retains full right to use the code for his/her own purpose, 
assign or donate the code to a third party and to inhibit third parties from using the code for non <MPEG standard> conforming products. 
This copyright notice must be included in all copies or derivative works. 

Copyright (c) 1996, 1997.

*************************************************************************/

// Buffers for Temporal Scalability	Added by Sharp(1998-02-10)
/******************************************
***     class CEnhcBufferDecoder        ***
******************************************/
class CVideoObjectDecoder;
class CVideoObjectDecoderTPS;
class CEnhcBufferDecoder : public CEnhcBuffer
{
	friend class CVideoObjectDecoder;
	friend class CVideoObjectDecoderTPS;

	CEnhcBufferDecoder(Int iSessionWidth, Int iSessionHeight);

	Void copyBuf(const CEnhcBufferDecoder& srcBuf);

	Void getBuf(CVideoObjectDecoder* pvopc);		// get params from Base layer
	Void putBufToQ0(CVideoObjectDecoder* pvopc);		// store params to Enhancement layer
	Void putBufToQ1(CVideoObjectDecoder* pvopc);		// store params to Enhancement layer

	Void getBuf(CVideoObjectDecoderTPS* pvopc);		// get params from Base layer
	Void putBufToQ0(CVideoObjectDecoderTPS* pvopc);		// store params to Enhancement layer
	Void putBufToQ1(CVideoObjectDecoderTPS* pvopc);		// store params to Enhancement layer
};
